#ifndef CONTROLLOGIC_H
#define CONTROLLOGIC_H

#include <As/Http/AbstractHttpLogic.h>

namespace As {

class ControlLogic : public AbstractHttpLogic
{
    Q_OBJECT;
public:
    ControlLogic(QObject *parent = 0);
    void deleteSession(const QString & sid);

public slots:
    void request(As::HttpRequest req);

private slots:
    void sessionResponse(As::HttpResponse resp);

private:
    QMap <QString, AbstractHttpLogic *> m_sessionMap;
};

}

#endif // CONTROLLOGIC_H
